﻿using System;

public class AppSettingsException : Exception
{
    private string key;
    public string KeyName{
        get { return key; }
    }

    public override string Message
    {
        get
        {
            return "check your '" + key + "' Item in appconfig";
        }
    }
    public AppSettingsException(string key){
        this.key = key;
    }
}